<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        body{
            background-color: #666;
        }
        form {
            width: 300px;
            height: 150px;
            margin: 220px auto;
            background-color: hotpink;
            line-height: 50px;
            text-align: center;
        }
    </style>
</head>

<body>
    <form action="/login" method="POST">
        用户名：
        <input required type="text" name="userName">
        <br> 密&nbsp;&nbsp;&nbsp;码：
        <input required type="password" name="password">
        <br>
        <input type="submit" value="登录">
        <input type="reset" value="重置">
    </form>
</body>

</html>